//
//  ScheduleModel.m
//  SDSY
//
//  Created by 蓝布鲁 on 2017/4/11.
//  Copyright (c) 2017 蓝布鲁. All rights reserved.
//

#import "ScheduleModel.h"
#import "TeacherOrderTimeModel.h"

@implementation ScheduleModel

- (void)setTimes:(NSArray *)times {
    // 转化为模型
    NSMutableArray *mArray = [[NSMutableArray alloc] init];
    for (NSDictionary *dictionary in times) {
        TeacherOrderTimeModel *model = [[TeacherOrderTimeModel alloc] initWithDictionary:dictionary];
        [mArray addObject:model];
    }
    _times = [mArray copy];
}

@end
